package net.yla.smartbus.module.ba.utils.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface SignatureAuthenicationUtilMapper {

    /**
     * 根据ak查询平台sk
     *
     * @param ak
     * @return
     */
    @Select(" select  sk  from SP_OpenPlatforms\n" +
            "    where hidden='0'\n" +
            "    and ak =#{ak}")
    String selectSkByAk(@Param("ak") String ak);

}
